Fix pointer in vmx vmmu init code (by Anthony Xu and Kevin Tian)
authordjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>
Fri, 2 Dec 2005 16:06:42 +0000 (10:06 -0600)
committerdjm@kirby.fc.hp.com <djm@kirby.fc.hp.com>
Fri, 2 Dec 2005 16:06:42 +0000 (10:06 -0600)
xen/arch/ia64/vmx/vmmu.c

index f6dc9c2fd897f064f9c519ee88b3b38df67e6b36..01be4636b7f3cf5f0b190c92e76473e4cdb8caea 100644 (file)
@@ -162,7 +162,7 @@ static thash_cb_t *init_domain_vhpt(struct vcpu *d)
     vhpt->ht = THASH_VHPT;
     vhpt->vcpu = d;
     vhpt->hash_func = machine_thash;
-    vs -= sizeof (vhpt_special);
+    vcur -= sizeof (vhpt_special);
     vs = vcur;
 
     /* Setup guest pta */